/**
 * Spin 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/spin/style';

export const spinThemeConfig: Partial<ComponentToken> = {
  contentHeight: 400,
  dotSize: 20,
  dotSizeSM: 14,
  dotSizeLG: 32,
};

export const getSpinTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...spinThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as SpinComponentToken } from 'antd/es/spin/style';

